/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.wiredsys.credcheck.beans;

import java.beans.Beans;
import java.io.Serializable;
import java.util.Calendar;


@SuppressWarnings("serial")
public class Users extends Beans implements Serializable {
    
    private Long userId = null;
    private String userName = "";
    private String userMotherName = "";
    
    /**
     * User Type
     * PF - Single User
     * PJ - Company
     */
    private String userType = "";
    private Calendar birthDate = null;
    private Calendar creationDate = null;
    private String federationCode = "";
    private Integer userAge = null;
  
    /**
     * Status
     * 0 - Allowed
     * 1 - Blocked
     */
    private Integer loginStatus = null;
    
    /**
     * Access Type
     * 1 - Client (to be checked by CPF)
     * 2 - Personnel user 
     * 3 - Corporate
     */
    private Integer accessType = null;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserMotherName() {
        return userMotherName;
    }

    public void setUserMotherName(String userMotherName) {
        this.userMotherName = userMotherName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Calendar getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Calendar birthDate) {
        this.birthDate = birthDate;
    }

    public Calendar getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Calendar creationDate) {
        this.creationDate = creationDate;
    }

    public String getFederationCode() {
        return federationCode;
    }

    public void setFederationCode(String federationCode) {
        this.federationCode = federationCode;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Integer getAccessType() {
        return accessType;
    }

    public void setAccessType(Integer accessType) {
        this.accessType = accessType;
    }

    public Integer getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }
    
}
